package cn.kimming.common.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * room
 * @author 
 */
@Data
public class RoomAddDTO implements Serializable {

    /**
     * 房间编号
     */
    @NotNull(message = "roomNum is not null")
    private Integer roomNum;

    /**
     * 楼层
     */
    @NotNull(message = "floor is not null")
    private Integer floor;

    /**
     * 楼栋代码
     */
    @NotNull(message = "buildingCode is not null")
    private String buildingCode;

    @NotNull(message = "flag is not null")
    private Short flag;

    /**
     * 房型ID
     */
    @NotNull(message = "roomTypeId is not null")
    private Long roomTypeId;

    private static final long serialVersionUID = 1L;
}